<?php

/* Devil Web Framework project
 *
 * This file is part of Devil Web Framework project.
 * All project is under the GPL3.0 license.
 * For any suggestion email at dan.andreoli@gmail.com
 */

/**
 * @author Daniele Andreoli <dan.andreoli@gmail.com>
 */

require_once("core/Autoloader.php");

\core\Autoloader::register();

try {
    $bootstrap = new \core\Bootstrap($_SERVER["REQUEST_URI"]);

    $array_uri = $bootstrap->load();
}
catch (\ErrorException $e) {
    header("Status: 404 Not Found");
}


?>
